package qe.spider.trade.vo;

public enum OrderStatus {
    Unknown(0, "未知"),
    Submitted(1, "已提交"),
    Received(2, "已接受"),
    Revoke(3, "请撤单"),
    Canceled(4, "已撤单"),
    Rejected(5, "已拒绝"),
    Success(6, "已成交"),
    Partial(7, "部分成交");


    private Integer id;
    private String name;

    private OrderStatus(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
